package org.example.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book implements Serializable {
    private int id;

    private String name;

    private double price;

    private String category;

    private int pnum;

    private String imgurl;

    private String description;

    private String author;

    private int sales;
}
